Optimal. Leaf size=69 \[ \frac {27 (3 i+8 x) \sqrt {3 i x+4 x^2}}{1024}+\frac {1}{32} (3 i+8 x) \left (3 i x+4 x^2\right )^{3/2}+\frac {243 i \sin ^{-1}\left (1-\frac {8 i x}{3}\right )}{4096} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 69, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 3, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {626, 633, 221}
\begin {gather*} \frac {243 i \text {ArcSin}\left (1-\frac {8 i x}{3}\right )}{4096}+\frac {1}{32} (8 x+3 i) \left (4 x^2+3 i x\right )^{3/2}+\frac {27 (8 x+3 i) \sqrt {4 x^2+3 i x}}{1024} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 221
Rule 626
Rule 633
Rubi steps
\begin {align*} \int \left (3 i x+4 x^2\right )^{3/2} \, dx &=\frac {1}{32} (3 i+8 x) \left (3 i x+4 x^2\right )^{3/2}+\frac {27}{64} \int \sqrt {3 i x+4 x^2} \, dx\\ &=\frac {27 (3 i+8 x) \sqrt {3 i x+4 x^2}}{1024}+\frac {1}{32} (3 i+8 x) \left (3 i x+4 x^2\right )^{3/2}+\frac {243 \int \frac {1}{\sqrt {3 i x+4 x^2}} \, dx}{2048}\\ &=\frac {27 (3 i+8 x) \sqrt {3 i x+4 x^2}}{1024}+\frac {1}{32} (3 i+8 x) \left (3 i x+4 x^2\right )^{3/2}+\frac {81 \text {Subst}\left (\int \frac {1}{\sqrt {1+\frac {x^2}{9}}} \, dx,x,3 i+8 x\right )}{4096}\\ &=\frac {27 (3 i+8 x) \sqrt {3 i x+4 x^2}}{1024}+\frac {1}{32} (3 i+8 x) \left (3 i x+4 x^2\right )^{3/2}+\frac {243 i \sin ^{-1}\left (1-\frac {8 i x}{3}\right )}{4096}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 83, normalized size = 1.20 \begin {gather*} \frac {2 x \left (-243+108 i x-3744 x^2+7680 i x^3+4096 x^4\right )-243 \sqrt {x} \sqrt {3 i+4 x} \log \left (-2 \sqrt {x}+\sqrt {3 i+4 x}\right )}{2048 \sqrt {x (3 i+4 x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.40, size = 51, normalized size = 0.74
method | result | size |
risch | \(\frac {\left (1024 x^{3}+1152 i x^{2}-72 x +81 i\right ) x \left (3 i+4 x \right )}{1024 \sqrt {x \left (3 i+4 x \right )}}+\frac {243 \arcsinh \left (i+\frac {8 x}{3}\right )}{4096}\) | \(47\) |
default | \(\frac {\left (3 i+8 x \right ) \left (4 x^{2}+3 i x \right )^{\frac {3}{2}}}{32}+\frac {27 \left (3 i+8 x \right ) \sqrt {4 x^{2}+3 i x}}{1024}+\frac {243 \arcsinh \left (i+\frac {8 x}{3}\right )}{4096}\) | \(51\) |
trager | \(\left (\frac {9}{8} i x^{2}+x^{3}+\frac {81}{1024} i-\frac {9}{128} x \right ) \sqrt {4 x^{2}+3 i x}+\frac {243 \ln \left (440 x +144+165 i-192 i \sqrt {4 x^{2}+3 i x}-384 i x +220 \sqrt {4 x^{2}+3 i x}\right )}{4096}\) | \(73\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.54, size = 76, normalized size = 1.10 \begin {gather*} \frac {1}{4} \, {\left (4 \, x^{2} + 3 i \, x\right )}^{\frac {3}{2}} x + \frac {3}{32} i \, {\left (4 \, x^{2} + 3 i \, x\right )}^{\frac {3}{2}} + \frac {27}{128} \, \sqrt {4 \, x^{2} + 3 i \, x} x + \frac {81}{1024} i \, \sqrt {4 \, x^{2} + 3 i \, x} + \frac {243}{4096} \, \log \left (8 \, x + 4 \, \sqrt {4 \, x^{2} + 3 i \, x} + 3 i\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.57, size = 49, normalized size = 0.71 \begin {gather*} \frac {1}{1024} \, {\left (1024 \, x^{3} + 1152 i \, x^{2} - 72 \, x + 81 i\right )} \sqrt {4 \, x^{2} + 3 i \, x} - \frac {243}{4096} \, \log \left (-2 \, x + \sqrt {4 \, x^{2} + 3 i \, x} - \frac {3}{4} i\right ) - \frac {567}{32768} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (4 x^{2} + 3 i x\right )^{\frac {3}{2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Both result and optimal contain complex but leaf count of result is larger than twice
the leaf count of optimal. 120 vs. \(2 (45) = 90\).
time = 1.94, size = 120, normalized size = 1.74 \begin {gather*} \frac {1}{2048} \, {\left (8 \, {\left (16 \, {\left (8 \, x + 9 i\right )} x - 9\right )} x + 81 i\right )} \sqrt {8 \, x^{2} + 2 \, \sqrt {16 \, x^{2} + 9} x} {\left (\frac {3 i \, x}{4 \, x^{2} + \sqrt {16 \, x^{4} + 9 \, x^{2}}} + 1\right )} - \frac {243}{4096} \, \log \left (2 \, \sqrt {8 \, x^{2} + 2 \, \sqrt {16 \, x^{2} + 9} x} {\left (\frac {3 i \, x}{4 \, x^{2} + \sqrt {16 \, x^{4} + 9 \, x^{2}}} + 1\right )} - 8 \, x - 3 i\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.16, size = 60, normalized size = 0.87 \begin {gather*} \frac {243\,\ln \left (x+\frac {\sqrt {x\,\left (4\,x+3{}\mathrm {i}\right )}}{2}+\frac {3}{8}{}\mathrm {i}\right )}{4096}+\frac {\left (4\,x+\frac {3}{2}{}\mathrm {i}\right )\,{\left (4\,x^2+x\,3{}\mathrm {i}\right )}^{3/2}}{16}+\frac {27\,\left (\frac {x}{2}+\frac {3}{16}{}\mathrm {i}\right )\,\sqrt {4\,x^2+x\,3{}\mathrm {i}}}{64} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________